package com.song.api.controller.files;

import com.song.grace.result.GraceJSONResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

@Api(value = "TestFile标题", tags = {"TestFile功能controller"})
@RequestMapping("hello")
public interface TestFileControllerApi {


    @ApiOperation(value = "testFile方法", notes = "testFile方法", httpMethod = "POST")
    @PostMapping("testFile")
    public GraceJSONResult testFile(MultipartFile multipartfile) throws IOException;

}
